-- GENERATED SPELL FOR [Diathorus the Seeker] --


function spell0_6072(pUnit, Event) --@Drain Life,Drain--
pUnit:FullCastSpellOnTarget(18557,pUnit:GetRandomPlayer(0))
pUnit:RegisterEvent('Sorts_6072', 5000, 1)
end

function Sorts_6072(pUnit, Event)
local choix_sorts_6072 = math.random(0, 0)
if choix_sorts_6072 == 0 then
pUnit:RegisterEvent('spell0_6072', 1, 1)
end
end

function mob6072_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6072', math.random(1500, 3000), 1)
end

function mob6072_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6072_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6072_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6072, 1, 'mob6072_Action')
RegisterUnitEvent(6072, 2, 'mob6072_Leave')
RegisterUnitEvent(6072, 3, 'mob6072_Kill')
RegisterUnitEvent(6072, 4, 'mob6072_Die')
